package cn.doitedu.dataservice

import java.text.SimpleDateFormat
import java.util.Date

object DataFormatUtil {


  val format = new SimpleDateFormat("yyyyMMdd")

  def tsToDateString(ts:Long):String = {
    format.format(new Date(ts))
  }

}
